package it.polimi.swimv2.remote;

import it.polimi.swimv2.entities.User;

import java.util.Collection;

import javax.ejb.Remote;

@Remote
public interface FriendsManagerRemote {
	/**
	 * Returns the friends of the specified user
	 * @param username
	 * @return a collection of friends
	 */
	public Collection<User> getFriendsOf(String username);
	
	/**
	 * Removes the friendship between the specified users
	 * @param username1
	 * @param username2
	 * @return
	 */
	public boolean removeFriendship(String username1,String username2);
}
